<?php

namespace app\services\store;

use app\dao\store\BannerDao;
use app\services\BaseServices;

class BannerServices extends BaseServices
{
    public function __construct(BannerDao $dao)
    {
        $this->dao = $dao;
    }

    public function getBannerList(array $where = [], array $field = ['*'], int $num = 0, int $page = 0, int $limit = 0)
    {
        $list = $this->dao->getBannerList($where, $field, $num, $page, $limit);
        return $list;
    }

}